CPAN Smoking involves downloading the recently added versions of CPAN modules, testing them and reporting the results to the CPAN Testers mailing list.
A long time ago, szabgab asked me whether I can work on setting up a sort of "CPAN Smoking in a Box" archive to smoke CPAN. Later on, when I dubbled a bit in CPAN smoking, I wanted a way to easily automate setting up such an environment under an underprivileged account and on a prefix that will not pollute the rest of the system.
I started writing some scripts to do it, but hit some obstacles and neglected it. The past two weeks, I returned to it and was able to bring it into a usable state.
So I present to you: SmokeAuto. It is a Perl module that enables one to automatically setup a Perl smoking environment. To use it:
Please let me know if you encounter any problems. Smoke yourself senseless!
Re:Almost there...
Shlomi Fish on 2007-02-12T19:50:33
And now can you automate that part as well?Well, part of the reason I created this was that I was tired of answering the same questions again and again. Later on, you can use the same configuration for creating the environment again. I was describing the steps from the beginning, but you can skip more in subsequent times.
I'm not saying that everything should work on 5.6.2, but authors should at least be made aware when their stuff doesn't so that they can then decide whether it's worth their while to bother supporting older perls.
Re:Nice idea
Shlomi Fish on 2007-02-12T20:12:02
Any chance of a tarball for those of us who aren't svn users,I'd rather not release a tarball because I'd have to maintain it separately. If you're still interested you can fetch the files using plain HTTP.
and does it work on older perls?I haven't tested it on perl-5.6.x, so I can't tell. I am smoking using Test::Reporter, but using Mail::Send. And I'm not the Test::Reporter maintainer. I just work here.
Re:Nice idea
bart on 2007-02-12T20:14:22
because it needs Net::SMTP, which needs some utf malarkeyIt sounds to me like somebody needs to backport Net::SMTP back to 5.6.x. I remember needing to do the same thing for a ID3 module for MP3 files. All I needed to change was maybe 3 lines of code — less efficient in 5.6.x, but at least, it worked again.I'll have a look at what is needed for Net::SMTP.
What do you people recommend to do with these backported modules, in order to distribute them, preferably on CPAN?
Re:Nice idea
drhyde on 2007-02-12T22:46:37
I fixed the Net::SMTP thing by just grabbing an older version of libnet from the CPAN. 1.1.17 IIRC, which was the last release before 5.6.2. With that in place, Test::Reporter installs just fine.Re:Nice idea
bart on 2007-02-12T23:45:09
Yes, but that just ignores any bugfixes that might have been applied to the module in later versions.